<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcoap: utlist.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libcoap<span id="projectnumber">&#160;4.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('utlist_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle"><div class="title">utlist.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;assert.h&gt;</code><br />
</div>
<p><a href="utlist_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a9f3779f3c49ddf609c97f1c3d1f29730" id="r_a9f3779f3c49ddf609c97f1c3d1f29730"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a9f3779f3c49ddf609c97f1c3d1f29730">UTLIST_VERSION</a>&#160;&#160;&#160;2.0.2</td></tr>
<tr class="separator:a9f3779f3c49ddf609c97f1c3d1f29730"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8c9864192170d02fd996abaa1589611" id="r_ae8c9864192170d02fd996abaa1589611"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ae8c9864192170d02fd996abaa1589611">LDECLTYPE</a>(x)&#160;&#160;&#160;__typeof(x)</td></tr>
<tr class="separator:ae8c9864192170d02fd996abaa1589611"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a076a9489ed67e9c266994d6b3835cebc" id="r_a076a9489ed67e9c266994d6b3835cebc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a076a9489ed67e9c266994d6b3835cebc">IF_NO_DECLTYPE</a>(x)</td></tr>
<tr class="separator:a076a9489ed67e9c266994d6b3835cebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3cab84f4d370423c96ac66d9216c6aa" id="r_aa3cab84f4d370423c96ac66d9216c6aa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aa3cab84f4d370423c96ac66d9216c6aa">UTLIST_SV</a>(elt,  list)</td></tr>
<tr class="separator:aa3cab84f4d370423c96ac66d9216c6aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e79be9dd498dd194909bc2a2e9b62bc" id="r_a2e79be9dd498dd194909bc2a2e9b62bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a2e79be9dd498dd194909bc2a2e9b62bc">UTLIST_NEXT</a>(elt,  list,  next)&#160;&#160;&#160;((elt)-&gt;next)</td></tr>
<tr class="separator:a2e79be9dd498dd194909bc2a2e9b62bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9272d99ba43c95b55c085b16f36bb57" id="r_af9272d99ba43c95b55c085b16f36bb57"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#af9272d99ba43c95b55c085b16f36bb57">UTLIST_NEXTASGN</a>(elt,  list,  to,  next)&#160;&#160;&#160;((elt)-&gt;next)=(to)</td></tr>
<tr class="separator:af9272d99ba43c95b55c085b16f36bb57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae52f3480c194493b6d8703a7d51eb66d" id="r_ae52f3480c194493b6d8703a7d51eb66d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ae52f3480c194493b6d8703a7d51eb66d">UTLIST_PREVASGN</a>(elt,  list,  to,  prev)&#160;&#160;&#160;((elt)-&gt;prev)=(to)</td></tr>
<tr class="separator:ae52f3480c194493b6d8703a7d51eb66d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aded44330ce4d18912ff83fe82cf26af7" id="r_aded44330ce4d18912ff83fe82cf26af7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aded44330ce4d18912ff83fe82cf26af7">UTLIST_RS</a>(list)</td></tr>
<tr class="separator:aded44330ce4d18912ff83fe82cf26af7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba90c456df269f7301e3b6fbbcb764fb" id="r_aba90c456df269f7301e3b6fbbcb764fb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aba90c456df269f7301e3b6fbbcb764fb">UTLIST_CASTASGN</a>(a,  b)&#160;&#160;&#160;(a)=(b)</td></tr>
<tr class="separator:aba90c456df269f7301e3b6fbbcb764fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b2137d4a0c157cb7a1a30d9340ece31" id="r_a0b2137d4a0c157cb7a1a30d9340ece31"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a0b2137d4a0c157cb7a1a30d9340ece31">LL_SORT</a>(list,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#ab073dee297f8614db97aa576832a3af1">LL_SORT2</a>(list, cmp, next)</td></tr>
<tr class="separator:a0b2137d4a0c157cb7a1a30d9340ece31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab073dee297f8614db97aa576832a3af1" id="r_ab073dee297f8614db97aa576832a3af1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ab073dee297f8614db97aa576832a3af1">LL_SORT2</a>(list,  cmp,  next)</td></tr>
<tr class="separator:ab073dee297f8614db97aa576832a3af1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad966f284f615a2ced4028258fa08f8f3" id="r_ad966f284f615a2ced4028258fa08f8f3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ad966f284f615a2ced4028258fa08f8f3">DL_SORT</a>(list,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a1a9781c3fa134c9d3c1d190291212e05">DL_SORT2</a>(list, cmp, prev, next)</td></tr>
<tr class="separator:ad966f284f615a2ced4028258fa08f8f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a9781c3fa134c9d3c1d190291212e05" id="r_a1a9781c3fa134c9d3c1d190291212e05"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a1a9781c3fa134c9d3c1d190291212e05">DL_SORT2</a>(list,  cmp,  prev,  next)</td></tr>
<tr class="separator:a1a9781c3fa134c9d3c1d190291212e05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13add78e5524efe1ae6bfb1631b2dc17" id="r_a13add78e5524efe1ae6bfb1631b2dc17"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a13add78e5524efe1ae6bfb1631b2dc17">CDL_SORT</a>(list,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#ac4c600b3d7ca043e54692ff4bc143dee">CDL_SORT2</a>(list, cmp, prev, next)</td></tr>
<tr class="separator:a13add78e5524efe1ae6bfb1631b2dc17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4c600b3d7ca043e54692ff4bc143dee" id="r_ac4c600b3d7ca043e54692ff4bc143dee"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ac4c600b3d7ca043e54692ff4bc143dee">CDL_SORT2</a>(list,  cmp,  prev,  next)</td></tr>
<tr class="separator:ac4c600b3d7ca043e54692ff4bc143dee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a851fb4b583b0dc000097eeee6dd551d4" id="r_a851fb4b583b0dc000097eeee6dd551d4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a851fb4b583b0dc000097eeee6dd551d4">LL_PREPEND</a>(head,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#ab2de55837ec70d7e467caee1ebe33b9a">LL_PREPEND2</a>(head,add,next)</td></tr>
<tr class="separator:a851fb4b583b0dc000097eeee6dd551d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2de55837ec70d7e467caee1ebe33b9a" id="r_ab2de55837ec70d7e467caee1ebe33b9a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ab2de55837ec70d7e467caee1ebe33b9a">LL_PREPEND2</a>(head,  add,  next)</td></tr>
<tr class="separator:ab2de55837ec70d7e467caee1ebe33b9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a404c4c80c250fc09c7a1a62b039efce7" id="r_a404c4c80c250fc09c7a1a62b039efce7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a404c4c80c250fc09c7a1a62b039efce7">LL_CONCAT</a>(head1,  head2)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aee8b209eb2ba3131a09d3e28e873dbd7">LL_CONCAT2</a>(head1,head2,next)</td></tr>
<tr class="separator:a404c4c80c250fc09c7a1a62b039efce7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee8b209eb2ba3131a09d3e28e873dbd7" id="r_aee8b209eb2ba3131a09d3e28e873dbd7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aee8b209eb2ba3131a09d3e28e873dbd7">LL_CONCAT2</a>(head1,  head2,  next)</td></tr>
<tr class="separator:aee8b209eb2ba3131a09d3e28e873dbd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace33c571c3df78e721a99a4494983855" id="r_ace33c571c3df78e721a99a4494983855"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ace33c571c3df78e721a99a4494983855">LL_APPEND</a>(head,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a7e96b16a0e2dd86c8529fd794bbdbbb4">LL_APPEND2</a>(head,add,next)</td></tr>
<tr class="separator:ace33c571c3df78e721a99a4494983855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e96b16a0e2dd86c8529fd794bbdbbb4" id="r_a7e96b16a0e2dd86c8529fd794bbdbbb4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a7e96b16a0e2dd86c8529fd794bbdbbb4">LL_APPEND2</a>(head,  add,  next)</td></tr>
<tr class="separator:a7e96b16a0e2dd86c8529fd794bbdbbb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0282aed46daaabf798f04aacd3787c0" id="r_ae0282aed46daaabf798f04aacd3787c0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ae0282aed46daaabf798f04aacd3787c0">LL_INSERT_INORDER</a>(head,  add,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a65354af5f8151d8014fa7a97e254c104">LL_INSERT_INORDER2</a>(head,add,cmp,next)</td></tr>
<tr class="separator:ae0282aed46daaabf798f04aacd3787c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65354af5f8151d8014fa7a97e254c104" id="r_a65354af5f8151d8014fa7a97e254c104"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a65354af5f8151d8014fa7a97e254c104">LL_INSERT_INORDER2</a>(head,  add,  cmp,  next)</td></tr>
<tr class="separator:a65354af5f8151d8014fa7a97e254c104"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acccd71aa6c0ee086fa474bd9133da7cb" id="r_acccd71aa6c0ee086fa474bd9133da7cb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#acccd71aa6c0ee086fa474bd9133da7cb">LL_LOWER_BOUND</a>(head,  elt,  like,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a46dd8f75c55742b10caceb3111fa3719">LL_LOWER_BOUND2</a>(head,elt,like,cmp,next)</td></tr>
<tr class="separator:acccd71aa6c0ee086fa474bd9133da7cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46dd8f75c55742b10caceb3111fa3719" id="r_a46dd8f75c55742b10caceb3111fa3719"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a46dd8f75c55742b10caceb3111fa3719">LL_LOWER_BOUND2</a>(head,  elt,  like,  cmp,  next)</td></tr>
<tr class="separator:a46dd8f75c55742b10caceb3111fa3719"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34a4e54d488753465f6e87bb63b93c0e" id="r_a34a4e54d488753465f6e87bb63b93c0e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a34a4e54d488753465f6e87bb63b93c0e">LL_DELETE</a>(head,  del)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a2737a45962b8f6e79a7dda26f7ef50d8">LL_DELETE2</a>(head,del,next)</td></tr>
<tr class="separator:a34a4e54d488753465f6e87bb63b93c0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2737a45962b8f6e79a7dda26f7ef50d8" id="r_a2737a45962b8f6e79a7dda26f7ef50d8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a2737a45962b8f6e79a7dda26f7ef50d8">LL_DELETE2</a>(head,  del,  next)</td></tr>
<tr class="separator:a2737a45962b8f6e79a7dda26f7ef50d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48eab425b28abd2eef58a1e96ef2a145" id="r_a48eab425b28abd2eef58a1e96ef2a145"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a48eab425b28abd2eef58a1e96ef2a145">LL_COUNT</a>(head,  el,  counter)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aa26d31f3f3884088b0af0352b415844b">LL_COUNT2</a>(head,el,counter,next)                                                            \</td></tr>
<tr class="separator:a48eab425b28abd2eef58a1e96ef2a145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa26d31f3f3884088b0af0352b415844b" id="r_aa26d31f3f3884088b0af0352b415844b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aa26d31f3f3884088b0af0352b415844b">LL_COUNT2</a>(head,  el,  counter,  next)</td></tr>
<tr class="separator:aa26d31f3f3884088b0af0352b415844b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a487c0ce49f397e1743caae16a797e4bb" id="r_a487c0ce49f397e1743caae16a797e4bb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a487c0ce49f397e1743caae16a797e4bb">LL_FOREACH</a>(head,  el)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a02e4d427da9697e0c8200850972f9a17">LL_FOREACH2</a>(head,el,next)</td></tr>
<tr class="separator:a487c0ce49f397e1743caae16a797e4bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02e4d427da9697e0c8200850972f9a17" id="r_a02e4d427da9697e0c8200850972f9a17"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a02e4d427da9697e0c8200850972f9a17">LL_FOREACH2</a>(head,  el,  next)&#160;&#160;&#160;    for ((el) = (head); el; (el) = (el)-&gt;next)</td></tr>
<tr class="separator:a02e4d427da9697e0c8200850972f9a17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0a695664d31f0b929fd50b39ebcf0ef" id="r_ad0a695664d31f0b929fd50b39ebcf0ef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ad0a695664d31f0b929fd50b39ebcf0ef">LL_FOREACH_SAFE</a>(head,  el,  tmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#adeb880a3409df5b041f6a9d4ef084dc1">LL_FOREACH_SAFE2</a>(head,el,tmp,next)</td></tr>
<tr class="separator:ad0a695664d31f0b929fd50b39ebcf0ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeb880a3409df5b041f6a9d4ef084dc1" id="r_adeb880a3409df5b041f6a9d4ef084dc1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#adeb880a3409df5b041f6a9d4ef084dc1">LL_FOREACH_SAFE2</a>(head,  el,  tmp,  next)&#160;&#160;&#160;  for ((el) = (head); (el) &amp;&amp; ((tmp) = (el)-&gt;next, 1); (el) = (tmp))</td></tr>
<tr class="separator:adeb880a3409df5b041f6a9d4ef084dc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c5c97079c5b259e4c0ff7c563b0f8ed" id="r_a8c5c97079c5b259e4c0ff7c563b0f8ed"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a8c5c97079c5b259e4c0ff7c563b0f8ed">LL_SEARCH_SCALAR</a>(head,  out,  field,  val)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a845ca1c4ffd9aa5511a7de108685cf41">LL_SEARCH_SCALAR2</a>(head,out,field,val,next)</td></tr>
<tr class="separator:a8c5c97079c5b259e4c0ff7c563b0f8ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a845ca1c4ffd9aa5511a7de108685cf41" id="r_a845ca1c4ffd9aa5511a7de108685cf41"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a845ca1c4ffd9aa5511a7de108685cf41">LL_SEARCH_SCALAR2</a>(head,  out,  field,  val,  next)</td></tr>
<tr class="separator:a845ca1c4ffd9aa5511a7de108685cf41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7a5ae66c9386c4b89403d9ca038adcb" id="r_af7a5ae66c9386c4b89403d9ca038adcb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#af7a5ae66c9386c4b89403d9ca038adcb">LL_SEARCH</a>(head,  out,  elt,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#ac32e87bb9e7e7ee5c50ddd765fec2202">LL_SEARCH2</a>(head,out,elt,cmp,next)</td></tr>
<tr class="separator:af7a5ae66c9386c4b89403d9ca038adcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac32e87bb9e7e7ee5c50ddd765fec2202" id="r_ac32e87bb9e7e7ee5c50ddd765fec2202"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ac32e87bb9e7e7ee5c50ddd765fec2202">LL_SEARCH2</a>(head,  out,  elt,  cmp,  next)</td></tr>
<tr class="separator:ac32e87bb9e7e7ee5c50ddd765fec2202"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bcbb9a204d535d6d19487288ea30b09" id="r_a5bcbb9a204d535d6d19487288ea30b09"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a5bcbb9a204d535d6d19487288ea30b09">LL_REPLACE_ELEM2</a>(head,  el,  add,  next)</td></tr>
<tr class="separator:a5bcbb9a204d535d6d19487288ea30b09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13dd262d32d5c66a5cf044e03b849b95" id="r_a13dd262d32d5c66a5cf044e03b849b95"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a13dd262d32d5c66a5cf044e03b849b95">LL_REPLACE_ELEM</a>(head,  el,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a5bcbb9a204d535d6d19487288ea30b09">LL_REPLACE_ELEM2</a>(head, el, add, next)</td></tr>
<tr class="separator:a13dd262d32d5c66a5cf044e03b849b95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a765038a2d590644520f8a3ec789335" id="r_a7a765038a2d590644520f8a3ec789335"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a7a765038a2d590644520f8a3ec789335">LL_PREPEND_ELEM2</a>(head,  el,  add,  next)</td></tr>
<tr class="separator:a7a765038a2d590644520f8a3ec789335"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77713cebaee4dc6bec6405e092854c60" id="r_a77713cebaee4dc6bec6405e092854c60"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a77713cebaee4dc6bec6405e092854c60">LL_PREPEND_ELEM</a>(head,  el,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a7a765038a2d590644520f8a3ec789335">LL_PREPEND_ELEM2</a>(head, el, add, next)</td></tr>
<tr class="separator:a77713cebaee4dc6bec6405e092854c60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a04734a684eabd0281ac9f8d6211edc" id="r_a7a04734a684eabd0281ac9f8d6211edc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a7a04734a684eabd0281ac9f8d6211edc">LL_APPEND_ELEM2</a>(head,  el,  add,  next)</td></tr>
<tr class="separator:a7a04734a684eabd0281ac9f8d6211edc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a969bd9a1b8f57b022f5dac4f6a2e9751" id="r_a969bd9a1b8f57b022f5dac4f6a2e9751"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a969bd9a1b8f57b022f5dac4f6a2e9751">LL_APPEND_ELEM</a>(head,  el,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a7a04734a684eabd0281ac9f8d6211edc">LL_APPEND_ELEM2</a>(head, el, add, next)</td></tr>
<tr class="separator:a969bd9a1b8f57b022f5dac4f6a2e9751"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78be4dea3344ba1b1c7fe1b893c0fdfa" id="r_a78be4dea3344ba1b1c7fe1b893c0fdfa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a78be4dea3344ba1b1c7fe1b893c0fdfa">DL_PREPEND</a>(head,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#afefdf797fe1e3e3a48a8ff9b4afc8b50">DL_PREPEND2</a>(head,add,prev,next)</td></tr>
<tr class="separator:a78be4dea3344ba1b1c7fe1b893c0fdfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afefdf797fe1e3e3a48a8ff9b4afc8b50" id="r_afefdf797fe1e3e3a48a8ff9b4afc8b50"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#afefdf797fe1e3e3a48a8ff9b4afc8b50">DL_PREPEND2</a>(head,  add,  prev,  next)</td></tr>
<tr class="separator:afefdf797fe1e3e3a48a8ff9b4afc8b50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17d40c945e1dc55490feb2fe160670c8" id="r_a17d40c945e1dc55490feb2fe160670c8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a17d40c945e1dc55490feb2fe160670c8">DL_APPEND</a>(head,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#af1aa0473f0cf2a976eb9c2ef18f29531">DL_APPEND2</a>(head,add,prev,next)</td></tr>
<tr class="separator:a17d40c945e1dc55490feb2fe160670c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1aa0473f0cf2a976eb9c2ef18f29531" id="r_af1aa0473f0cf2a976eb9c2ef18f29531"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#af1aa0473f0cf2a976eb9c2ef18f29531">DL_APPEND2</a>(head,  add,  prev,  next)</td></tr>
<tr class="separator:af1aa0473f0cf2a976eb9c2ef18f29531"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb2c3564fe626e93e5c8cfaa00cb0722" id="r_aeb2c3564fe626e93e5c8cfaa00cb0722"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aeb2c3564fe626e93e5c8cfaa00cb0722">DL_INSERT_INORDER</a>(head,  add,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a193fb84c781a2b60e3f179ad4b999aac">DL_INSERT_INORDER2</a>(head,add,cmp,next)</td></tr>
<tr class="separator:aeb2c3564fe626e93e5c8cfaa00cb0722"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a193fb84c781a2b60e3f179ad4b999aac" id="r_a193fb84c781a2b60e3f179ad4b999aac"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a193fb84c781a2b60e3f179ad4b999aac">DL_INSERT_INORDER2</a>(head,  add,  cmp,  next)</td></tr>
<tr class="separator:a193fb84c781a2b60e3f179ad4b999aac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaac22334b0aa31f2297dd4ebd156f06d" id="r_aaac22334b0aa31f2297dd4ebd156f06d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aaac22334b0aa31f2297dd4ebd156f06d">DL_LOWER_BOUND</a>(head,  elt,  like,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aa61e44222f4ce731345ab3b4e98d0215">DL_LOWER_BOUND2</a>(head,elt,like,cmp,next)</td></tr>
<tr class="separator:aaac22334b0aa31f2297dd4ebd156f06d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa61e44222f4ce731345ab3b4e98d0215" id="r_aa61e44222f4ce731345ab3b4e98d0215"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aa61e44222f4ce731345ab3b4e98d0215">DL_LOWER_BOUND2</a>(head,  elt,  like,  cmp,  next)</td></tr>
<tr class="separator:aa61e44222f4ce731345ab3b4e98d0215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae46c0b5fd5a59cd5f889db7a0e6989bb" id="r_ae46c0b5fd5a59cd5f889db7a0e6989bb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ae46c0b5fd5a59cd5f889db7a0e6989bb">DL_CONCAT</a>(head1,  head2)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aa910e66e69c6d7a0738682c6d6d22764">DL_CONCAT2</a>(head1,head2,prev,next)</td></tr>
<tr class="separator:ae46c0b5fd5a59cd5f889db7a0e6989bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa910e66e69c6d7a0738682c6d6d22764" id="r_aa910e66e69c6d7a0738682c6d6d22764"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aa910e66e69c6d7a0738682c6d6d22764">DL_CONCAT2</a>(head1,  head2,  prev,  next)</td></tr>
<tr class="separator:aa910e66e69c6d7a0738682c6d6d22764"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad429903354ffe8cdf4ca2e9d0ae89cc" id="r_aad429903354ffe8cdf4ca2e9d0ae89cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aad429903354ffe8cdf4ca2e9d0ae89cc">DL_DELETE</a>(head,  del)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aba01e54c48a65b3774121fdd0029a6bc">DL_DELETE2</a>(head,del,prev,next)</td></tr>
<tr class="separator:aad429903354ffe8cdf4ca2e9d0ae89cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba01e54c48a65b3774121fdd0029a6bc" id="r_aba01e54c48a65b3774121fdd0029a6bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aba01e54c48a65b3774121fdd0029a6bc">DL_DELETE2</a>(head,  del,  prev,  next)</td></tr>
<tr class="separator:aba01e54c48a65b3774121fdd0029a6bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42b6fe6a8a8857d10ccccbade4c08a57" id="r_a42b6fe6a8a8857d10ccccbade4c08a57"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a42b6fe6a8a8857d10ccccbade4c08a57">DL_COUNT</a>(head,  el,  counter)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a695860c5f7a56893d91e30979de513b1">DL_COUNT2</a>(head,el,counter,next)                                                            \</td></tr>
<tr class="separator:a42b6fe6a8a8857d10ccccbade4c08a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a695860c5f7a56893d91e30979de513b1" id="r_a695860c5f7a56893d91e30979de513b1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a695860c5f7a56893d91e30979de513b1">DL_COUNT2</a>(head,  el,  counter,  next)</td></tr>
<tr class="separator:a695860c5f7a56893d91e30979de513b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb0c2851c5f0567be7b8827ce5168ef7" id="r_abb0c2851c5f0567be7b8827ce5168ef7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#abb0c2851c5f0567be7b8827ce5168ef7">DL_FOREACH</a>(head,  el)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#afa552d80a0e24c462756e5c7d714b590">DL_FOREACH2</a>(head,el,next)</td></tr>
<tr class="separator:abb0c2851c5f0567be7b8827ce5168ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa552d80a0e24c462756e5c7d714b590" id="r_afa552d80a0e24c462756e5c7d714b590"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#afa552d80a0e24c462756e5c7d714b590">DL_FOREACH2</a>(head,  el,  next)&#160;&#160;&#160;    for ((el) = (head); el; (el) = (el)-&gt;next)</td></tr>
<tr class="separator:afa552d80a0e24c462756e5c7d714b590"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bb0c84a69846d2f019a97ea0b4709aa" id="r_a3bb0c84a69846d2f019a97ea0b4709aa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a3bb0c84a69846d2f019a97ea0b4709aa">DL_FOREACH_SAFE</a>(head,  el,  tmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#acd1252a17e56e7d158488456ed541993">DL_FOREACH_SAFE2</a>(head,el,tmp,next)</td></tr>
<tr class="separator:a3bb0c84a69846d2f019a97ea0b4709aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd1252a17e56e7d158488456ed541993" id="r_acd1252a17e56e7d158488456ed541993"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#acd1252a17e56e7d158488456ed541993">DL_FOREACH_SAFE2</a>(head,  el,  tmp,  next)&#160;&#160;&#160;  for ((el) = (head); (el) &amp;&amp; ((tmp) = (el)-&gt;next, 1); (el) = (tmp))</td></tr>
<tr class="separator:acd1252a17e56e7d158488456ed541993"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a172fce2d647fdedadf0f8080e0441c5b" id="r_a172fce2d647fdedadf0f8080e0441c5b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a172fce2d647fdedadf0f8080e0441c5b">DL_SEARCH_SCALAR</a>&#160;&#160;&#160;<a class="el" href="utlist_8h.html#a8c5c97079c5b259e4c0ff7c563b0f8ed">LL_SEARCH_SCALAR</a></td></tr>
<tr class="separator:a172fce2d647fdedadf0f8080e0441c5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a819373d14278b52c313b743acc292ba0" id="r_a819373d14278b52c313b743acc292ba0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a819373d14278b52c313b743acc292ba0">DL_SEARCH</a>&#160;&#160;&#160;<a class="el" href="utlist_8h.html#af7a5ae66c9386c4b89403d9ca038adcb">LL_SEARCH</a></td></tr>
<tr class="separator:a819373d14278b52c313b743acc292ba0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d5f0ce5f79edb05478271dc9e20e6c5" id="r_a3d5f0ce5f79edb05478271dc9e20e6c5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a3d5f0ce5f79edb05478271dc9e20e6c5">DL_SEARCH_SCALAR2</a>&#160;&#160;&#160;<a class="el" href="utlist_8h.html#a845ca1c4ffd9aa5511a7de108685cf41">LL_SEARCH_SCALAR2</a></td></tr>
<tr class="separator:a3d5f0ce5f79edb05478271dc9e20e6c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2197cbf3fb6d1f63eeb6992a137895a" id="r_ae2197cbf3fb6d1f63eeb6992a137895a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ae2197cbf3fb6d1f63eeb6992a137895a">DL_SEARCH2</a>&#160;&#160;&#160;<a class="el" href="utlist_8h.html#ac32e87bb9e7e7ee5c50ddd765fec2202">LL_SEARCH2</a></td></tr>
<tr class="separator:ae2197cbf3fb6d1f63eeb6992a137895a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ef7160d0f314e7c3a245d54a3bf6b14" id="r_a9ef7160d0f314e7c3a245d54a3bf6b14"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a9ef7160d0f314e7c3a245d54a3bf6b14">DL_REPLACE_ELEM2</a>(head,  el,  add,  prev,  next)</td></tr>
<tr class="separator:a9ef7160d0f314e7c3a245d54a3bf6b14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add9446d548ad3917bdaaf5615c592e19" id="r_add9446d548ad3917bdaaf5615c592e19"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#add9446d548ad3917bdaaf5615c592e19">DL_REPLACE_ELEM</a>(head,  el,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a9ef7160d0f314e7c3a245d54a3bf6b14">DL_REPLACE_ELEM2</a>(head, el, add, prev, next)</td></tr>
<tr class="separator:add9446d548ad3917bdaaf5615c592e19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0be75b1f6a5602ffeba319a6881b6518" id="r_a0be75b1f6a5602ffeba319a6881b6518"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a0be75b1f6a5602ffeba319a6881b6518">DL_PREPEND_ELEM2</a>(head,  el,  add,  prev,  next)</td></tr>
<tr class="separator:a0be75b1f6a5602ffeba319a6881b6518"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4287408f7b0e04773245b8cb462db259" id="r_a4287408f7b0e04773245b8cb462db259"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a4287408f7b0e04773245b8cb462db259">DL_PREPEND_ELEM</a>(head,  el,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a0be75b1f6a5602ffeba319a6881b6518">DL_PREPEND_ELEM2</a>(head, el, add, prev, next)</td></tr>
<tr class="separator:a4287408f7b0e04773245b8cb462db259"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac13f2d398f8381ef711859b56a44aaa1" id="r_ac13f2d398f8381ef711859b56a44aaa1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ac13f2d398f8381ef711859b56a44aaa1">DL_APPEND_ELEM2</a>(head,  el,  add,  prev,  next)</td></tr>
<tr class="separator:ac13f2d398f8381ef711859b56a44aaa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a833505e02dd360dd831cb89b4772d340" id="r_a833505e02dd360dd831cb89b4772d340"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a833505e02dd360dd831cb89b4772d340">DL_APPEND_ELEM</a>(head,  el,  add)&#160;&#160;&#160;   <a class="el" href="utlist_8h.html#ac13f2d398f8381ef711859b56a44aaa1">DL_APPEND_ELEM2</a>(head, el, add, prev, next)</td></tr>
<tr class="separator:a833505e02dd360dd831cb89b4772d340"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accdaa1a2854add161af9525eb458cf23" id="r_accdaa1a2854add161af9525eb458cf23"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#accdaa1a2854add161af9525eb458cf23">CDL_APPEND</a>(head,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a5966ec17beb64f9fb5153307fbb6017d">CDL_APPEND2</a>(head,add,prev,next)</td></tr>
<tr class="separator:accdaa1a2854add161af9525eb458cf23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5966ec17beb64f9fb5153307fbb6017d" id="r_a5966ec17beb64f9fb5153307fbb6017d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a5966ec17beb64f9fb5153307fbb6017d">CDL_APPEND2</a>(head,  add,  prev,  next)</td></tr>
<tr class="separator:a5966ec17beb64f9fb5153307fbb6017d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c6a7232d281eab4b18563b92e5653bd" id="r_a6c6a7232d281eab4b18563b92e5653bd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a6c6a7232d281eab4b18563b92e5653bd">CDL_PREPEND</a>(head,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aeb32a87bf2738eb64394e8d2eebfacab">CDL_PREPEND2</a>(head,add,prev,next)</td></tr>
<tr class="separator:a6c6a7232d281eab4b18563b92e5653bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb32a87bf2738eb64394e8d2eebfacab" id="r_aeb32a87bf2738eb64394e8d2eebfacab"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aeb32a87bf2738eb64394e8d2eebfacab">CDL_PREPEND2</a>(head,  add,  prev,  next)</td></tr>
<tr class="separator:aeb32a87bf2738eb64394e8d2eebfacab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc6dcb926029b956e9ce94d8b290fa83" id="r_abc6dcb926029b956e9ce94d8b290fa83"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#abc6dcb926029b956e9ce94d8b290fa83">CDL_INSERT_INORDER</a>(head,  add,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a460529e1a44aae94d38409bd78004013">CDL_INSERT_INORDER2</a>(head,add,cmp,next)</td></tr>
<tr class="separator:abc6dcb926029b956e9ce94d8b290fa83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a460529e1a44aae94d38409bd78004013" id="r_a460529e1a44aae94d38409bd78004013"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a460529e1a44aae94d38409bd78004013">CDL_INSERT_INORDER2</a>(head,  add,  cmp,  next)</td></tr>
<tr class="separator:a460529e1a44aae94d38409bd78004013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89728a3b887cb2494e643a0f66225148" id="r_a89728a3b887cb2494e643a0f66225148"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a89728a3b887cb2494e643a0f66225148">CDL_LOWER_BOUND</a>(head,  elt,  like,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a9ece61df58580514e81d48d18b3a109d">CDL_LOWER_BOUND2</a>(head,elt,like,cmp,next)</td></tr>
<tr class="separator:a89728a3b887cb2494e643a0f66225148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ece61df58580514e81d48d18b3a109d" id="r_a9ece61df58580514e81d48d18b3a109d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a9ece61df58580514e81d48d18b3a109d">CDL_LOWER_BOUND2</a>(head,  elt,  like,  cmp,  next)</td></tr>
<tr class="separator:a9ece61df58580514e81d48d18b3a109d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60fd7696c4d0865f53a07579a7b08235" id="r_a60fd7696c4d0865f53a07579a7b08235"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a60fd7696c4d0865f53a07579a7b08235">CDL_DELETE</a>(head,  del)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a3c74342dfb410c3b8847a0752609ab3a">CDL_DELETE2</a>(head,del,prev,next)</td></tr>
<tr class="separator:a60fd7696c4d0865f53a07579a7b08235"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c74342dfb410c3b8847a0752609ab3a" id="r_a3c74342dfb410c3b8847a0752609ab3a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a3c74342dfb410c3b8847a0752609ab3a">CDL_DELETE2</a>(head,  del,  prev,  next)</td></tr>
<tr class="separator:a3c74342dfb410c3b8847a0752609ab3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62aadb45076ea124d2ed269d6cbf39cb" id="r_a62aadb45076ea124d2ed269d6cbf39cb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a62aadb45076ea124d2ed269d6cbf39cb">CDL_COUNT</a>(head,  el,  counter)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a49b193f300aacde49996035292a1933a">CDL_COUNT2</a>(head,el,counter,next)                                                           \</td></tr>
<tr class="separator:a62aadb45076ea124d2ed269d6cbf39cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49b193f300aacde49996035292a1933a" id="r_a49b193f300aacde49996035292a1933a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a49b193f300aacde49996035292a1933a">CDL_COUNT2</a>(head,  el,  counter,  next)</td></tr>
<tr class="separator:a49b193f300aacde49996035292a1933a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a795df7857792d7e811709a060c911a36" id="r_a795df7857792d7e811709a060c911a36"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a795df7857792d7e811709a060c911a36">CDL_FOREACH</a>(head,  el)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a1cb1a7ba8af85112bd9080f2e5bc3989">CDL_FOREACH2</a>(head,el,next)</td></tr>
<tr class="separator:a795df7857792d7e811709a060c911a36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cb1a7ba8af85112bd9080f2e5bc3989" id="r_a1cb1a7ba8af85112bd9080f2e5bc3989"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a1cb1a7ba8af85112bd9080f2e5bc3989">CDL_FOREACH2</a>(head,  el,  next)&#160;&#160;&#160;    for ((el)=(head);el;(el)=(((el)-&gt;next==(head)) ? NULL : (el)-&gt;next))</td></tr>
<tr class="separator:a1cb1a7ba8af85112bd9080f2e5bc3989"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdb80106f7733e37fbe4f62e9d97ccfd" id="r_abdb80106f7733e37fbe4f62e9d97ccfd"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#abdb80106f7733e37fbe4f62e9d97ccfd">CDL_FOREACH_SAFE</a>(head,  el,  tmp1,  tmp2)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aaf70ec71fcb399dcef00f7b5a117e76b">CDL_FOREACH_SAFE2</a>(head,el,tmp1,tmp2,prev,next)</td></tr>
<tr class="separator:abdb80106f7733e37fbe4f62e9d97ccfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf70ec71fcb399dcef00f7b5a117e76b" id="r_aaf70ec71fcb399dcef00f7b5a117e76b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#aaf70ec71fcb399dcef00f7b5a117e76b">CDL_FOREACH_SAFE2</a>(head,  el,  tmp1,  tmp2,  prev,  next)</td></tr>
<tr class="separator:aaf70ec71fcb399dcef00f7b5a117e76b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad064cddb894b478b3c3cd23719f58651" id="r_ad064cddb894b478b3c3cd23719f58651"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ad064cddb894b478b3c3cd23719f58651">CDL_SEARCH_SCALAR</a>(head,  out,  field,  val)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a1e2a56abf454af235395317c6444f49f">CDL_SEARCH_SCALAR2</a>(head,out,field,val,next)</td></tr>
<tr class="separator:ad064cddb894b478b3c3cd23719f58651"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e2a56abf454af235395317c6444f49f" id="r_a1e2a56abf454af235395317c6444f49f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a1e2a56abf454af235395317c6444f49f">CDL_SEARCH_SCALAR2</a>(head,  out,  field,  val,  next)</td></tr>
<tr class="separator:a1e2a56abf454af235395317c6444f49f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb329a0bdf1fa0b644317e9d84082e1e" id="r_afb329a0bdf1fa0b644317e9d84082e1e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#afb329a0bdf1fa0b644317e9d84082e1e">CDL_SEARCH</a>(head,  out,  elt,  cmp)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#ae5716446b8f83a5cefd4d49f65fb30d1">CDL_SEARCH2</a>(head,out,elt,cmp,next)</td></tr>
<tr class="separator:afb329a0bdf1fa0b644317e9d84082e1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5716446b8f83a5cefd4d49f65fb30d1" id="r_ae5716446b8f83a5cefd4d49f65fb30d1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ae5716446b8f83a5cefd4d49f65fb30d1">CDL_SEARCH2</a>(head,  out,  elt,  cmp,  next)</td></tr>
<tr class="separator:ae5716446b8f83a5cefd4d49f65fb30d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83b6d37b4e99e4421965d818d26862a2" id="r_a83b6d37b4e99e4421965d818d26862a2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a83b6d37b4e99e4421965d818d26862a2">CDL_REPLACE_ELEM2</a>(head,  el,  add,  prev,  next)</td></tr>
<tr class="separator:a83b6d37b4e99e4421965d818d26862a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5481f46b63414b5da0d49d0545b80476" id="r_a5481f46b63414b5da0d49d0545b80476"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a5481f46b63414b5da0d49d0545b80476">CDL_REPLACE_ELEM</a>(head,  el,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a83b6d37b4e99e4421965d818d26862a2">CDL_REPLACE_ELEM2</a>(head, el, add, prev, next)</td></tr>
<tr class="separator:a5481f46b63414b5da0d49d0545b80476"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68c1c57055841a06573a6a64d62ee014" id="r_a68c1c57055841a06573a6a64d62ee014"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a68c1c57055841a06573a6a64d62ee014">CDL_PREPEND_ELEM2</a>(head,  el,  add,  prev,  next)</td></tr>
<tr class="separator:a68c1c57055841a06573a6a64d62ee014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01cda67c0b827f7fafad4fb1253300f9" id="r_a01cda67c0b827f7fafad4fb1253300f9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#a01cda67c0b827f7fafad4fb1253300f9">CDL_PREPEND_ELEM</a>(head,  el,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a68c1c57055841a06573a6a64d62ee014">CDL_PREPEND_ELEM2</a>(head, el, add, prev, next)</td></tr>
<tr class="separator:a01cda67c0b827f7fafad4fb1253300f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdad80181602d8675e742f34a4f7361c" id="r_afdad80181602d8675e742f34a4f7361c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#afdad80181602d8675e742f34a4f7361c">CDL_APPEND_ELEM2</a>(head,  el,  add,  prev,  next)</td></tr>
<tr class="separator:afdad80181602d8675e742f34a4f7361c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1829a3f5ce373894f5b02bfa8acd752" id="r_ad1829a3f5ce373894f5b02bfa8acd752"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="utlist_8h.html#ad1829a3f5ce373894f5b02bfa8acd752">CDL_APPEND_ELEM</a>(head,  el,  add)&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#afdad80181602d8675e742f34a4f7361c">CDL_APPEND_ELEM2</a>(head, el, add, prev, next)</td></tr>
<tr class="separator:ad1829a3f5ce373894f5b02bfa8acd752"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="accdaa1a2854add161af9525eb458cf23" name="accdaa1a2854add161af9525eb458cf23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accdaa1a2854add161af9525eb458cf23">&#9670;&#160;</a></span>CDL_APPEND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_APPEND</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a5966ec17beb64f9fb5153307fbb6017d">CDL_APPEND2</a>(head,add,prev,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00860">860</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a5966ec17beb64f9fb5153307fbb6017d" name="a5966ec17beb64f9fb5153307fbb6017d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5966ec17beb64f9fb5153307fbb6017d">&#9670;&#160;</a></span>CDL_APPEND2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_APPEND2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> if (head) {                                                                                   \</div>
<div class="line">   (add)-&gt;prev = (head)-&gt;prev;                                                                 \</div>
<div class="line">   (add)-&gt;next = (head);                                                                       \</div>
<div class="line">   (head)-&gt;prev = (add);                                                                       \</div>
<div class="line">   (add)-&gt;prev-&gt;next = (add);                                                                  \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">   (add)-&gt;prev = (add);                                                                        \</div>
<div class="line">   (add)-&gt;next = (add);                                                                        \</div>
<div class="line">   (head) = (add);                                                                             \</div>
<div class="line"> }                                                                                             \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00863">863</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ad1829a3f5ce373894f5b02bfa8acd752" name="ad1829a3f5ce373894f5b02bfa8acd752"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1829a3f5ce373894f5b02bfa8acd752">&#9670;&#160;</a></span>CDL_APPEND_ELEM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_APPEND_ELEM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#afdad80181602d8675e742f34a4f7361c">CDL_APPEND_ELEM2</a>(head, el, add, prev, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l01040">1040</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="afdad80181602d8675e742f34a4f7361c" name="afdad80181602d8675e742f34a4f7361c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdad80181602d8675e742f34a4f7361c">&#9670;&#160;</a></span>CDL_APPEND_ELEM2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_APPEND_ELEM2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> if (el) {                                                                                     \</div>
<div class="line">  assert((head) != NULL);                                                                      \</div>
<div class="line">  assert((add) != NULL);                                                                       \</div>
<div class="line">  (add)-&gt;next = (el)-&gt;next;                                                                    \</div>
<div class="line">  (add)-&gt;prev = (el);                                                                          \</div>
<div class="line">  (el)-&gt;next = (add);                                                                          \</div>
<div class="line">  (add)-&gt;next-&gt;prev = (add);                                                                   \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">  CDL_PREPEND2(head, add, prev, next);                                                         \</div>
<div class="line"> }                                                                                             \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l01026">1026</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a62aadb45076ea124d2ed269d6cbf39cb" name="a62aadb45076ea124d2ed269d6cbf39cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62aadb45076ea124d2ed269d6cbf39cb">&#9670;&#160;</a></span>CDL_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_COUNT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">counter&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a49b193f300aacde49996035292a1933a">CDL_COUNT2</a>(head,el,counter,next)                                                           \</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00940">940</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a49b193f300aacde49996035292a1933a" name="a49b193f300aacde49996035292a1933a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49b193f300aacde49996035292a1933a">&#9670;&#160;</a></span>CDL_COUNT2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_COUNT2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">counter, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  (counter) = 0;                                                                               \</div>
<div class="line">  CDL_FOREACH2(head,el,next) { ++(counter); }                                                  \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00943">943</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a60fd7696c4d0865f53a07579a7b08235" name="a60fd7696c4d0865f53a07579a7b08235"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60fd7696c4d0865f53a07579a7b08235">&#9670;&#160;</a></span>CDL_DELETE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_DELETE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">del&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a3c74342dfb410c3b8847a0752609ab3a">CDL_DELETE2</a>(head,del,prev,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00926">926</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a3c74342dfb410c3b8847a0752609ab3a" name="a3c74342dfb410c3b8847a0752609ab3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c74342dfb410c3b8847a0752609ab3a">&#9670;&#160;</a></span>CDL_DELETE2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_DELETE2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">del, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  if (((head)==(del)) &amp;&amp; ((head)-&gt;next == (head))) {                                           \</div>
<div class="line">      (head) = NULL;                                                                           \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">     (del)-&gt;next-&gt;prev = (del)-&gt;prev;                                                          \</div>
<div class="line">     (del)-&gt;prev-&gt;next = (del)-&gt;next;                                                          \</div>
<div class="line">     if ((del) == (head)) (head)=(del)-&gt;next;                                                  \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00929">929</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a795df7857792d7e811709a060c911a36" name="a795df7857792d7e811709a060c911a36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a795df7857792d7e811709a060c911a36">&#9670;&#160;</a></span>CDL_FOREACH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_FOREACH</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a1cb1a7ba8af85112bd9080f2e5bc3989">CDL_FOREACH2</a>(head,el,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00949">949</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a1cb1a7ba8af85112bd9080f2e5bc3989" name="a1cb1a7ba8af85112bd9080f2e5bc3989"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cb1a7ba8af85112bd9080f2e5bc3989">&#9670;&#160;</a></span>CDL_FOREACH2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_FOREACH2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    for ((el)=(head);el;(el)=(((el)-&gt;next==(head)) ? NULL : (el)-&gt;next))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00952">952</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="abdb80106f7733e37fbe4f62e9d97ccfd" name="abdb80106f7733e37fbe4f62e9d97ccfd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abdb80106f7733e37fbe4f62e9d97ccfd">&#9670;&#160;</a></span>CDL_FOREACH_SAFE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_FOREACH_SAFE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">tmp1, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">tmp2&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aaf70ec71fcb399dcef00f7b5a117e76b">CDL_FOREACH_SAFE2</a>(head,el,tmp1,tmp2,prev,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00955">955</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aaf70ec71fcb399dcef00f7b5a117e76b" name="aaf70ec71fcb399dcef00f7b5a117e76b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf70ec71fcb399dcef00f7b5a117e76b">&#9670;&#160;</a></span>CDL_FOREACH_SAFE2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_FOREACH_SAFE2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">tmp1, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">tmp2, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  <span class="keywordflow">for</span> ((el) = (head), (tmp1) = (head) ? (head)-&gt;prev : NULL;                                   \</div>
<div class="line">       (el) &amp;&amp; ((tmp2) = (el)-&gt;next, 1);                                                       \</div>
<div class="line">       (el) = ((el) == (tmp1) ? NULL : (tmp2)))</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00958">958</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="abc6dcb926029b956e9ce94d8b290fa83" name="abc6dcb926029b956e9ce94d8b290fa83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc6dcb926029b956e9ce94d8b290fa83">&#9670;&#160;</a></span>CDL_INSERT_INORDER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_INSERT_INORDER</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a460529e1a44aae94d38409bd78004013">CDL_INSERT_INORDER2</a>(head,add,cmp,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00894">894</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a460529e1a44aae94d38409bd78004013" name="a460529e1a44aae94d38409bd78004013"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a460529e1a44aae94d38409bd78004013">&#9670;&#160;</a></span>CDL_INSERT_INORDER2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_INSERT_INORDER2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  LDECLTYPE(head) _tmp;                                                                        \</div>
<div class="line">  if (head) {                                                                                  \</div>
<div class="line">    CDL_LOWER_BOUND(head, _tmp, add, cmp);                                                     \</div>
<div class="line">    CDL_APPEND_ELEM(head, _tmp, add);                                                          \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">    (head) = (add);                                                                            \</div>
<div class="line">    (head)-&gt;next = (head);                                                                     \</div>
<div class="line">    (head)-&gt;prev = (head);                                                                     \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00897">897</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a89728a3b887cb2494e643a0f66225148" name="a89728a3b887cb2494e643a0f66225148"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89728a3b887cb2494e643a0f66225148">&#9670;&#160;</a></span>CDL_LOWER_BOUND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_LOWER_BOUND</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">like, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a9ece61df58580514e81d48d18b3a109d">CDL_LOWER_BOUND2</a>(head,elt,like,cmp,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00910">910</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a9ece61df58580514e81d48d18b3a109d" name="a9ece61df58580514e81d48d18b3a109d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ece61df58580514e81d48d18b3a109d">&#9670;&#160;</a></span>CDL_LOWER_BOUND2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_LOWER_BOUND2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">like, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  if ((head) == NULL || (cmp(head, like)) &gt;= 0) {                                              \</div>
<div class="line">    (elt) = NULL;                                                                              \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">    for ((elt) = (head); (elt)-&gt;next != (head); (elt) = (elt)-&gt;next) {                         \</div>
<div class="line">      if ((cmp((elt)-&gt;next, like)) &gt;= 0) {                                                     \</div>
<div class="line">        <span class="keywordflow">break</span>;                                                                                 \</div>
<div class="line">      }                                                                                        \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00913">913</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a6c6a7232d281eab4b18563b92e5653bd" name="a6c6a7232d281eab4b18563b92e5653bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c6a7232d281eab4b18563b92e5653bd">&#9670;&#160;</a></span>CDL_PREPEND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_PREPEND</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aeb32a87bf2738eb64394e8d2eebfacab">CDL_PREPEND2</a>(head,add,prev,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00877">877</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aeb32a87bf2738eb64394e8d2eebfacab" name="aeb32a87bf2738eb64394e8d2eebfacab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb32a87bf2738eb64394e8d2eebfacab">&#9670;&#160;</a></span>CDL_PREPEND2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_PREPEND2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> if (head) {                                                                                   \</div>
<div class="line">   (add)-&gt;prev = (head)-&gt;prev;                                                                 \</div>
<div class="line">   (add)-&gt;next = (head);                                                                       \</div>
<div class="line">   (head)-&gt;prev = (add);                                                                       \</div>
<div class="line">   (add)-&gt;prev-&gt;next = (add);                                                                  \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">   (add)-&gt;prev = (add);                                                                        \</div>
<div class="line">   (add)-&gt;next = (add);                                                                        \</div>
<div class="line"> }                                                                                             \</div>
<div class="line"> (head) = (add);                                                                               \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00880">880</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a01cda67c0b827f7fafad4fb1253300f9" name="a01cda67c0b827f7fafad4fb1253300f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01cda67c0b827f7fafad4fb1253300f9">&#9670;&#160;</a></span>CDL_PREPEND_ELEM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_PREPEND_ELEM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a68c1c57055841a06573a6a64d62ee014">CDL_PREPEND_ELEM2</a>(head, el, add, prev, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l01023">1023</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a68c1c57055841a06573a6a64d62ee014" name="a68c1c57055841a06573a6a64d62ee014"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68c1c57055841a06573a6a64d62ee014">&#9670;&#160;</a></span>CDL_PREPEND_ELEM2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_PREPEND_ELEM2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  if (el) {                                                                                    \</div>
<div class="line">    assert((head) != NULL);                                                                    \</div>
<div class="line">    assert((add) != NULL);                                                                     \</div>
<div class="line">    (add)-&gt;next = (el);                                                                        \</div>
<div class="line">    (add)-&gt;prev = (el)-&gt;prev;                                                                  \</div>
<div class="line">    (el)-&gt;prev = (add);                                                                        \</div>
<div class="line">    (add)-&gt;prev-&gt;next = (add);                                                                 \</div>
<div class="line">    if ((head) == (el)) {                                                                      \</div>
<div class="line">      (head) = (add);                                                                          \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">    CDL_APPEND2(head, add, prev, next);                                                        \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l01006">1006</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a5481f46b63414b5da0d49d0545b80476" name="a5481f46b63414b5da0d49d0545b80476"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5481f46b63414b5da0d49d0545b80476">&#9670;&#160;</a></span>CDL_REPLACE_ELEM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_REPLACE_ELEM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a83b6d37b4e99e4421965d818d26862a2">CDL_REPLACE_ELEM2</a>(head, el, add, prev, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l01003">1003</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a83b6d37b4e99e4421965d818d26862a2" name="a83b6d37b4e99e4421965d818d26862a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83b6d37b4e99e4421965d818d26862a2">&#9670;&#160;</a></span>CDL_REPLACE_ELEM2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_REPLACE_ELEM2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> assert((head) != NULL);                                                                       \</div>
<div class="line"> assert((el) != NULL);                                                                         \</div>
<div class="line"> assert((add) != NULL);                                                                        \</div>
<div class="line"> if ((el)-&gt;next == (el)) {                                                                     \</div>
<div class="line">  (add)-&gt;next = (add);                                                                         \</div>
<div class="line">  (add)-&gt;prev = (add);                                                                         \</div>
<div class="line">  (head) = (add);                                                                              \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">  (add)-&gt;next = (el)-&gt;next;                                                                    \</div>
<div class="line">  (add)-&gt;prev = (el)-&gt;prev;                                                                    \</div>
<div class="line">  (add)-&gt;next-&gt;prev = (add);                                                                   \</div>
<div class="line">  (add)-&gt;prev-&gt;next = (add);                                                                   \</div>
<div class="line">  if ((head) == (el)) {                                                                        \</div>
<div class="line">   (head) = (add);                                                                             \</div>
<div class="line">  }                                                                                            \</div>
<div class="line"> }                                                                                             \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00983">983</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="afb329a0bdf1fa0b644317e9d84082e1e" name="afb329a0bdf1fa0b644317e9d84082e1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb329a0bdf1fa0b644317e9d84082e1e">&#9670;&#160;</a></span>CDL_SEARCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_SEARCH</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">out, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#ae5716446b8f83a5cefd4d49f65fb30d1">CDL_SEARCH2</a>(head,out,elt,cmp,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00973">973</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ae5716446b8f83a5cefd4d49f65fb30d1" name="ae5716446b8f83a5cefd4d49f65fb30d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5716446b8f83a5cefd4d49f65fb30d1">&#9670;&#160;</a></span>CDL_SEARCH2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_SEARCH2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">out, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">    CDL_FOREACH2(head,out,next) {                                                              \</div>
<div class="line">      if ((cmp(out,elt))==0) break;                                                            \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">} while (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00976">976</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ad064cddb894b478b3c3cd23719f58651" name="ad064cddb894b478b3c3cd23719f58651"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad064cddb894b478b3c3cd23719f58651">&#9670;&#160;</a></span>CDL_SEARCH_SCALAR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_SEARCH_SCALAR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">out, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">field, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">val&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a1e2a56abf454af235395317c6444f49f">CDL_SEARCH_SCALAR2</a>(head,out,field,val,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00963">963</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a1e2a56abf454af235395317c6444f49f" name="a1e2a56abf454af235395317c6444f49f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e2a56abf454af235395317c6444f49f">&#9670;&#160;</a></span>CDL_SEARCH_SCALAR2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_SEARCH_SCALAR2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">out, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">field, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">val, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">    CDL_FOREACH2(head,out,next) {                                                              \</div>
<div class="line">      if ((out)-&gt;field == (val)) <span class="keywordflow">break</span>;                                                        \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00966">966</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a13add78e5524efe1ae6bfb1631b2dc17" name="a13add78e5524efe1ae6bfb1631b2dc17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13add78e5524efe1ae6bfb1631b2dc17">&#9670;&#160;</a></span>CDL_SORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_SORT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#ac4c600b3d7ca043e54692ff4bc143dee">CDL_SORT2</a>(list, cmp, prev, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00235">235</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ac4c600b3d7ca043e54692ff4bc143dee" name="ac4c600b3d7ca043e54692ff4bc143dee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4c600b3d7ca043e54692ff4bc143dee">&#9670;&#160;</a></span>CDL_SORT2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CDL_SORT2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00238">238</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a17d40c945e1dc55490feb2fe160670c8" name="a17d40c945e1dc55490feb2fe160670c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17d40c945e1dc55490feb2fe160670c8">&#9670;&#160;</a></span>DL_APPEND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_APPEND</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#af1aa0473f0cf2a976eb9c2ef18f29531">DL_APPEND2</a>(head,add,prev,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00636">636</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="af1aa0473f0cf2a976eb9c2ef18f29531" name="af1aa0473f0cf2a976eb9c2ef18f29531"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1aa0473f0cf2a976eb9c2ef18f29531">&#9670;&#160;</a></span>DL_APPEND2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_APPEND2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  if (head) {                                                                                  \</div>
<div class="line">      (add)-&gt;prev = (head)-&gt;prev;                                                              \</div>
<div class="line">      (head)-&gt;prev-&gt;next = (add);                                                              \</div>
<div class="line">      (head)-&gt;prev = (add);                                                                    \</div>
<div class="line">      (add)-&gt;next = NULL;                                                                      \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">      (head)=(add);                                                                            \</div>
<div class="line">      (head)-&gt;prev = (head);                                                                   \</div>
<div class="line">      (head)-&gt;next = NULL;                                                                     \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00639">639</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a833505e02dd360dd831cb89b4772d340" name="a833505e02dd360dd831cb89b4772d340"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a833505e02dd360dd831cb89b4772d340">&#9670;&#160;</a></span>DL_APPEND_ELEM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_APPEND_ELEM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;   <a class="el" href="utlist_8h.html#ac13f2d398f8381ef711859b56a44aaa1">DL_APPEND_ELEM2</a>(head, el, add, prev, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00821">821</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ac13f2d398f8381ef711859b56a44aaa1" name="ac13f2d398f8381ef711859b56a44aaa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac13f2d398f8381ef711859b56a44aaa1">&#9670;&#160;</a></span>DL_APPEND_ELEM2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_APPEND_ELEM2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> if (el) {                                                                                     \</div>
<div class="line">  assert((head) != NULL);                                                                      \</div>
<div class="line">  assert((add) != NULL);                                                                       \</div>
<div class="line">  (add)-&gt;next = (el)-&gt;next;                                                                    \</div>
<div class="line">  (add)-&gt;prev = (el);                                                                          \</div>
<div class="line">  (el)-&gt;next = (add);                                                                          \</div>
<div class="line">  if ((add)-&gt;next) {                                                                           \</div>
<div class="line">   (add)-&gt;next-&gt;prev = (add);                                                                  \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">   (head)-&gt;prev = (add);                                                                       \</div>
<div class="line">  }                                                                                            \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">  DL_PREPEND2(head, add, prev, next);                                                          \</div>
<div class="line"> }                                                                                             \</div>
<div class="line">} <span class="keywordflow">while</span> (0)                                                                                    \</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00803">803</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ae46c0b5fd5a59cd5f889db7a0e6989bb" name="ae46c0b5fd5a59cd5f889db7a0e6989bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae46c0b5fd5a59cd5f889db7a0e6989bb">&#9670;&#160;</a></span>DL_CONCAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_CONCAT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head1, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head2&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aa910e66e69c6d7a0738682c6d6d22764">DL_CONCAT2</a>(head1,head2,prev,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00685">685</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aa910e66e69c6d7a0738682c6d6d22764" name="aa910e66e69c6d7a0738682c6d6d22764"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa910e66e69c6d7a0738682c6d6d22764">&#9670;&#160;</a></span>DL_CONCAT2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_CONCAT2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head1, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head2, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  LDECLTYPE(head1) _tmp;                                                                       \</div>
<div class="line">  if (head2) {                                                                                 \</div>
<div class="line">    if (head1) {                                                                               \</div>
<div class="line">        UTLIST_CASTASGN(_tmp, (head2)-&gt;prev);                                                  \</div>
<div class="line">        (head2)-&gt;prev = (head1)-&gt;prev;                                                         \</div>
<div class="line">        (head1)-&gt;prev-&gt;next = (head2);                                                         \</div>
<div class="line">        UTLIST_CASTASGN((head1)-&gt;prev, _tmp);                                                  \</div>
<div class="line">    } <span class="keywordflow">else</span> {                                                                                   \</div>
<div class="line">        (head1)=(head2);                                                                       \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00688">688</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a42b6fe6a8a8857d10ccccbade4c08a57" name="a42b6fe6a8a8857d10ccccbade4c08a57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42b6fe6a8a8857d10ccccbade4c08a57">&#9670;&#160;</a></span>DL_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_COUNT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">counter&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a695860c5f7a56893d91e30979de513b1">DL_COUNT2</a>(head,el,counter,next)                                                            \</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00725">725</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a695860c5f7a56893d91e30979de513b1" name="a695860c5f7a56893d91e30979de513b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a695860c5f7a56893d91e30979de513b1">&#9670;&#160;</a></span>DL_COUNT2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_COUNT2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">counter, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  (counter) = 0;                                                                               \</div>
<div class="line">  DL_FOREACH2(head,el,next) { ++(counter); }                                                   \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00728">728</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aad429903354ffe8cdf4ca2e9d0ae89cc" name="aad429903354ffe8cdf4ca2e9d0ae89cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad429903354ffe8cdf4ca2e9d0ae89cc">&#9670;&#160;</a></span>DL_DELETE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_DELETE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">del&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aba01e54c48a65b3774121fdd0029a6bc">DL_DELETE2</a>(head,del,prev,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00703">703</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aba01e54c48a65b3774121fdd0029a6bc" name="aba01e54c48a65b3774121fdd0029a6bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba01e54c48a65b3774121fdd0029a6bc">&#9670;&#160;</a></span>DL_DELETE2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_DELETE2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">del, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  assert((head) != NULL);                                                                      \</div>
<div class="line">  assert((del)-&gt;prev != NULL);                                                                 \</div>
<div class="line">  if ((del)-&gt;prev == (del)) {                                                                  \</div>
<div class="line">      (head)=NULL;                                                                             \</div>
<div class="line">  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> ((del)==(head)) {                                                                  \</div>
<div class="line">      (del)-&gt;next-&gt;prev = (del)-&gt;prev;                                                         \</div>
<div class="line">      (head) = (del)-&gt;next;                                                                    \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">      (del)-&gt;prev-&gt;next = (del)-&gt;next;                                                         \</div>
<div class="line">      if ((del)-&gt;next) {                                                                       \</div>
<div class="line">          (del)-&gt;next-&gt;prev = (del)-&gt;prev;                                                     \</div>
<div class="line">      } <span class="keywordflow">else</span> {                                                                                 \</div>
<div class="line">          (head)-&gt;prev = (del)-&gt;prev;                                                          \</div>
<div class="line">      }                                                                                        \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00706">706</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="abb0c2851c5f0567be7b8827ce5168ef7" name="abb0c2851c5f0567be7b8827ce5168ef7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb0c2851c5f0567be7b8827ce5168ef7">&#9670;&#160;</a></span>DL_FOREACH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_FOREACH</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#afa552d80a0e24c462756e5c7d714b590">DL_FOREACH2</a>(head,el,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00734">734</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="afa552d80a0e24c462756e5c7d714b590" name="afa552d80a0e24c462756e5c7d714b590"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa552d80a0e24c462756e5c7d714b590">&#9670;&#160;</a></span>DL_FOREACH2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_FOREACH2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    for ((el) = (head); el; (el) = (el)-&gt;next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00737">737</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a3bb0c84a69846d2f019a97ea0b4709aa" name="a3bb0c84a69846d2f019a97ea0b4709aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bb0c84a69846d2f019a97ea0b4709aa">&#9670;&#160;</a></span>DL_FOREACH_SAFE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_FOREACH_SAFE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">tmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#acd1252a17e56e7d158488456ed541993">DL_FOREACH_SAFE2</a>(head,el,tmp,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00741">741</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="acd1252a17e56e7d158488456ed541993" name="acd1252a17e56e7d158488456ed541993"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd1252a17e56e7d158488456ed541993">&#9670;&#160;</a></span>DL_FOREACH_SAFE2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_FOREACH_SAFE2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">tmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;  for ((el) = (head); (el) &amp;&amp; ((tmp) = (el)-&gt;next, 1); (el) = (tmp))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00744">744</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aeb2c3564fe626e93e5c8cfaa00cb0722" name="aeb2c3564fe626e93e5c8cfaa00cb0722"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb2c3564fe626e93e5c8cfaa00cb0722">&#9670;&#160;</a></span>DL_INSERT_INORDER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_INSERT_INORDER</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a193fb84c781a2b60e3f179ad4b999aac">DL_INSERT_INORDER2</a>(head,add,cmp,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00653">653</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a193fb84c781a2b60e3f179ad4b999aac" name="a193fb84c781a2b60e3f179ad4b999aac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a193fb84c781a2b60e3f179ad4b999aac">&#9670;&#160;</a></span>DL_INSERT_INORDER2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_INSERT_INORDER2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  LDECLTYPE(head) _tmp;                                                                        \</div>
<div class="line">  if (head) {                                                                                  \</div>
<div class="line">    DL_LOWER_BOUND(head, _tmp, add, cmp);                                                      \</div>
<div class="line">    DL_APPEND_ELEM(head, _tmp, add);                                                           \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">    (head) = (add);                                                                            \</div>
<div class="line">    (head)-&gt;prev = (head);                                                                     \</div>
<div class="line">    (head)-&gt;next = NULL;                                                                       \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00656">656</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aaac22334b0aa31f2297dd4ebd156f06d" name="aaac22334b0aa31f2297dd4ebd156f06d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaac22334b0aa31f2297dd4ebd156f06d">&#9670;&#160;</a></span>DL_LOWER_BOUND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_LOWER_BOUND</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">like, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aa61e44222f4ce731345ab3b4e98d0215">DL_LOWER_BOUND2</a>(head,elt,like,cmp,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00669">669</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aa61e44222f4ce731345ab3b4e98d0215" name="aa61e44222f4ce731345ab3b4e98d0215"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa61e44222f4ce731345ab3b4e98d0215">&#9670;&#160;</a></span>DL_LOWER_BOUND2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_LOWER_BOUND2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">like, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  if ((head) == NULL || (cmp(head, like)) &gt;= 0) {                                              \</div>
<div class="line">    (elt) = NULL;                                                                              \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">    for ((elt) = (head); (elt)-&gt;next != NULL; (elt) = (elt)-&gt;next) {                           \</div>
<div class="line">      if ((cmp((elt)-&gt;next, like)) &gt;= 0) {                                                     \</div>
<div class="line">        <span class="keywordflow">break</span>;                                                                                 \</div>
<div class="line">      }                                                                                        \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00672">672</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a78be4dea3344ba1b1c7fe1b893c0fdfa" name="a78be4dea3344ba1b1c7fe1b893c0fdfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78be4dea3344ba1b1c7fe1b893c0fdfa">&#9670;&#160;</a></span>DL_PREPEND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_PREPEND</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#afefdf797fe1e3e3a48a8ff9b4afc8b50">DL_PREPEND2</a>(head,add,prev,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00621">621</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="afefdf797fe1e3e3a48a8ff9b4afc8b50" name="afefdf797fe1e3e3a48a8ff9b4afc8b50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afefdf797fe1e3e3a48a8ff9b4afc8b50">&#9670;&#160;</a></span>DL_PREPEND2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_PREPEND2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> (add)-&gt;next = (head);                                                                         \</div>
<div class="line"> if (head) {                                                                                   \</div>
<div class="line">   (add)-&gt;prev = (head)-&gt;prev;                                                                 \</div>
<div class="line">   (head)-&gt;prev = (add);                                                                       \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">   (add)-&gt;prev = (add);                                                                        \</div>
<div class="line"> }                                                                                             \</div>
<div class="line"> (head) = (add);                                                                               \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00624">624</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a4287408f7b0e04773245b8cb462db259" name="a4287408f7b0e04773245b8cb462db259"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4287408f7b0e04773245b8cb462db259">&#9670;&#160;</a></span>DL_PREPEND_ELEM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_PREPEND_ELEM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a0be75b1f6a5602ffeba319a6881b6518">DL_PREPEND_ELEM2</a>(head, el, add, prev, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00800">800</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a0be75b1f6a5602ffeba319a6881b6518" name="a0be75b1f6a5602ffeba319a6881b6518"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0be75b1f6a5602ffeba319a6881b6518">&#9670;&#160;</a></span>DL_PREPEND_ELEM2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_PREPEND_ELEM2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> if (el) {                                                                                     \</div>
<div class="line">  assert((head) != NULL);                                                                      \</div>
<div class="line">  assert((add) != NULL);                                                                       \</div>
<div class="line">  (add)-&gt;next = (el);                                                                          \</div>
<div class="line">  (add)-&gt;prev = (el)-&gt;prev;                                                                    \</div>
<div class="line">  (el)-&gt;prev = (add);                                                                          \</div>
<div class="line">  if ((head) == (el)) {                                                                        \</div>
<div class="line">   (head) = (add);                                                                             \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">   (add)-&gt;prev-&gt;next = (add);                                                                  \</div>
<div class="line">  }                                                                                            \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">  DL_APPEND2(head, add, prev, next);                                                           \</div>
<div class="line"> }                                                                                             \</div>
<div class="line">} <span class="keywordflow">while</span> (0)                                                                                    \</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00782">782</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="add9446d548ad3917bdaaf5615c592e19" name="add9446d548ad3917bdaaf5615c592e19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add9446d548ad3917bdaaf5615c592e19">&#9670;&#160;</a></span>DL_REPLACE_ELEM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_REPLACE_ELEM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a9ef7160d0f314e7c3a245d54a3bf6b14">DL_REPLACE_ELEM2</a>(head, el, add, prev, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00779">779</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a9ef7160d0f314e7c3a245d54a3bf6b14" name="a9ef7160d0f314e7c3a245d54a3bf6b14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ef7160d0f314e7c3a245d54a3bf6b14">&#9670;&#160;</a></span>DL_REPLACE_ELEM2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_REPLACE_ELEM2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> assert((head) != NULL);                                                                       \</div>
<div class="line"> assert((el) != NULL);                                                                         \</div>
<div class="line"> assert((add) != NULL);                                                                        \</div>
<div class="line"> if ((head) == (el)) {                                                                         \</div>
<div class="line">  (head) = (add);                                                                              \</div>
<div class="line">  (add)-&gt;next = (el)-&gt;next;                                                                    \</div>
<div class="line">  if ((el)-&gt;next == NULL) {                                                                    \</div>
<div class="line">   (add)-&gt;prev = (add);                                                                        \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">   (add)-&gt;prev = (el)-&gt;prev;                                                                   \</div>
<div class="line">   (add)-&gt;next-&gt;prev = (add);                                                                  \</div>
<div class="line">  }                                                                                            \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">  (add)-&gt;next = (el)-&gt;next;                                                                    \</div>
<div class="line">  (add)-&gt;prev = (el)-&gt;prev;                                                                    \</div>
<div class="line">  (add)-&gt;prev-&gt;next = (add);                                                                   \</div>
<div class="line">  if ((el)-&gt;next == NULL) {                                                                    \</div>
<div class="line">   (head)-&gt;prev = (add);                                                                       \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">   (add)-&gt;next-&gt;prev = (add);                                                                  \</div>
<div class="line">  }                                                                                            \</div>
<div class="line"> }                                                                                             \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00753">753</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a819373d14278b52c313b743acc292ba0" name="a819373d14278b52c313b743acc292ba0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a819373d14278b52c313b743acc292ba0">&#9670;&#160;</a></span>DL_SEARCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_SEARCH&#160;&#160;&#160;<a class="el" href="utlist_8h.html#af7a5ae66c9386c4b89403d9ca038adcb">LL_SEARCH</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00749">749</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ae2197cbf3fb6d1f63eeb6992a137895a" name="ae2197cbf3fb6d1f63eeb6992a137895a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2197cbf3fb6d1f63eeb6992a137895a">&#9670;&#160;</a></span>DL_SEARCH2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_SEARCH2&#160;&#160;&#160;<a class="el" href="utlist_8h.html#ac32e87bb9e7e7ee5c50ddd765fec2202">LL_SEARCH2</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00751">751</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a172fce2d647fdedadf0f8080e0441c5b" name="a172fce2d647fdedadf0f8080e0441c5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a172fce2d647fdedadf0f8080e0441c5b">&#9670;&#160;</a></span>DL_SEARCH_SCALAR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_SEARCH_SCALAR&#160;&#160;&#160;<a class="el" href="utlist_8h.html#a8c5c97079c5b259e4c0ff7c563b0f8ed">LL_SEARCH_SCALAR</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00748">748</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a3d5f0ce5f79edb05478271dc9e20e6c5" name="a3d5f0ce5f79edb05478271dc9e20e6c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d5f0ce5f79edb05478271dc9e20e6c5">&#9670;&#160;</a></span>DL_SEARCH_SCALAR2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_SEARCH_SCALAR2&#160;&#160;&#160;<a class="el" href="utlist_8h.html#a845ca1c4ffd9aa5511a7de108685cf41">LL_SEARCH_SCALAR2</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00750">750</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ad966f284f615a2ced4028258fa08f8f3" name="ad966f284f615a2ced4028258fa08f8f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad966f284f615a2ced4028258fa08f8f3">&#9670;&#160;</a></span>DL_SORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_SORT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a1a9781c3fa134c9d3c1d190291212e05">DL_SORT2</a>(list, cmp, prev, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00172">172</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a1a9781c3fa134c9d3c1d190291212e05" name="a1a9781c3fa134c9d3c1d190291212e05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a9781c3fa134c9d3c1d190291212e05">&#9670;&#160;</a></span>DL_SORT2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DL_SORT2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00175">175</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a076a9489ed67e9c266994d6b3835cebc" name="a076a9489ed67e9c266994d6b3835cebc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a076a9489ed67e9c266994d6b3835cebc">&#9670;&#160;</a></span>IF_NO_DECLTYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define IF_NO_DECLTYPE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00094">94</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ae8c9864192170d02fd996abaa1589611" name="ae8c9864192170d02fd996abaa1589611"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8c9864192170d02fd996abaa1589611">&#9670;&#160;</a></span>LDECLTYPE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LDECLTYPE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td>&#160;&#160;&#160;__typeof(x)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00076">76</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ace33c571c3df78e721a99a4494983855" name="ace33c571c3df78e721a99a4494983855"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace33c571c3df78e721a99a4494983855">&#9670;&#160;</a></span>LL_APPEND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_APPEND</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a7e96b16a0e2dd86c8529fd794bbdbbb4">LL_APPEND2</a>(head,add,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00338">338</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a7e96b16a0e2dd86c8529fd794bbdbbb4" name="a7e96b16a0e2dd86c8529fd794bbdbbb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e96b16a0e2dd86c8529fd794bbdbbb4">&#9670;&#160;</a></span>LL_APPEND2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_APPEND2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  LDECLTYPE(head) _tmp;                                                                        \</div>
<div class="line">  (add)-&gt;next=NULL;                                                                            \</div>
<div class="line">  if (head) {                                                                                  \</div>
<div class="line">    _tmp = (head);                                                                             \</div>
<div class="line">    while (_tmp-&gt;next) { _tmp = _tmp-&gt;next; }                                                  \</div>
<div class="line">    _tmp-&gt;next=(add);                                                                          \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">    (head)=(add);                                                                              \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00341">341</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a969bd9a1b8f57b022f5dac4f6a2e9751" name="a969bd9a1b8f57b022f5dac4f6a2e9751"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a969bd9a1b8f57b022f5dac4f6a2e9751">&#9670;&#160;</a></span>LL_APPEND_ELEM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_APPEND_ELEM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a7a04734a684eabd0281ac9f8d6211edc">LL_APPEND_ELEM2</a>(head, el, add, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00506">506</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a7a04734a684eabd0281ac9f8d6211edc" name="a7a04734a684eabd0281ac9f8d6211edc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a04734a684eabd0281ac9f8d6211edc">&#9670;&#160;</a></span>LL_APPEND_ELEM2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_APPEND_ELEM2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> if (el) {                                                                                     \</div>
<div class="line">  assert((head) != NULL);                                                                      \</div>
<div class="line">  assert((add) != NULL);                                                                       \</div>
<div class="line">  (add)-&gt;next = (el)-&gt;next;                                                                    \</div>
<div class="line">  (el)-&gt;next = (add);                                                                          \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">  LL_PREPEND2(head, add, next);                                                                \</div>
<div class="line"> }                                                                                             \</div>
<div class="line">} <span class="keywordflow">while</span> (0)                                                                                    \</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00494">494</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a404c4c80c250fc09c7a1a62b039efce7" name="a404c4c80c250fc09c7a1a62b039efce7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a404c4c80c250fc09c7a1a62b039efce7">&#9670;&#160;</a></span>LL_CONCAT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_CONCAT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head1, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head2&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aee8b209eb2ba3131a09d3e28e873dbd7">LL_CONCAT2</a>(head1,head2,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00323">323</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aee8b209eb2ba3131a09d3e28e873dbd7" name="aee8b209eb2ba3131a09d3e28e873dbd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee8b209eb2ba3131a09d3e28e873dbd7">&#9670;&#160;</a></span>LL_CONCAT2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_CONCAT2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head1, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head2, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  LDECLTYPE(head1) _tmp;                                                                       \</div>
<div class="line">  if (head1) {                                                                                 \</div>
<div class="line">    _tmp = (head1);                                                                            \</div>
<div class="line">    while (_tmp-&gt;next) { _tmp = _tmp-&gt;next; }                                                  \</div>
<div class="line">    _tmp-&gt;next=(head2);                                                                        \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">    (head1)=(head2);                                                                           \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00326">326</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a48eab425b28abd2eef58a1e96ef2a145" name="a48eab425b28abd2eef58a1e96ef2a145"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48eab425b28abd2eef58a1e96ef2a145">&#9670;&#160;</a></span>LL_COUNT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_COUNT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">counter&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#aa26d31f3f3884088b0af0352b415844b">LL_COUNT2</a>(head,el,counter,next)                                                            \</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00404">404</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aa26d31f3f3884088b0af0352b415844b" name="aa26d31f3f3884088b0af0352b415844b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa26d31f3f3884088b0af0352b415844b">&#9670;&#160;</a></span>LL_COUNT2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_COUNT2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">counter, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  (counter) = 0;                                                                               \</div>
<div class="line">  LL_FOREACH2(head,el,next) { ++(counter); }                                                   \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00407">407</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a34a4e54d488753465f6e87bb63b93c0e" name="a34a4e54d488753465f6e87bb63b93c0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34a4e54d488753465f6e87bb63b93c0e">&#9670;&#160;</a></span>LL_DELETE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_DELETE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">del&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a2737a45962b8f6e79a7dda26f7ef50d8">LL_DELETE2</a>(head,del,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00385">385</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a2737a45962b8f6e79a7dda26f7ef50d8" name="a2737a45962b8f6e79a7dda26f7ef50d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2737a45962b8f6e79a7dda26f7ef50d8">&#9670;&#160;</a></span>LL_DELETE2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_DELETE2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">del, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  LDECLTYPE(head) _tmp;                                                                        \</div>
<div class="line">  if ((head) == (del)) {                                                                       \</div>
<div class="line">    (head)=(head)-&gt;next;                                                                       \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">    _tmp = (head);                                                                             \</div>
<div class="line">    while (_tmp-&gt;next &amp;&amp; (_tmp-&gt;next != (del))) {                                              \</div>
<div class="line">      _tmp = _tmp-&gt;next;                                                                       \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">    if (_tmp-&gt;next) {                                                                          \</div>
<div class="line">      _tmp-&gt;next = (del)-&gt;next;                                                                \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00388">388</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a487c0ce49f397e1743caae16a797e4bb" name="a487c0ce49f397e1743caae16a797e4bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a487c0ce49f397e1743caae16a797e4bb">&#9670;&#160;</a></span>LL_FOREACH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_FOREACH</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a02e4d427da9697e0c8200850972f9a17">LL_FOREACH2</a>(head,el,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00413">413</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a02e4d427da9697e0c8200850972f9a17" name="a02e4d427da9697e0c8200850972f9a17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02e4d427da9697e0c8200850972f9a17">&#9670;&#160;</a></span>LL_FOREACH2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_FOREACH2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    for ((el) = (head); el; (el) = (el)-&gt;next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00416">416</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ad0a695664d31f0b929fd50b39ebcf0ef" name="ad0a695664d31f0b929fd50b39ebcf0ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0a695664d31f0b929fd50b39ebcf0ef">&#9670;&#160;</a></span>LL_FOREACH_SAFE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_FOREACH_SAFE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">tmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#adeb880a3409df5b041f6a9d4ef084dc1">LL_FOREACH_SAFE2</a>(head,el,tmp,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00419">419</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="adeb880a3409df5b041f6a9d4ef084dc1" name="adeb880a3409df5b041f6a9d4ef084dc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adeb880a3409df5b041f6a9d4ef084dc1">&#9670;&#160;</a></span>LL_FOREACH_SAFE2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_FOREACH_SAFE2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">tmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;  for ((el) = (head); (el) &amp;&amp; ((tmp) = (el)-&gt;next, 1); (el) = (tmp))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00422">422</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ae0282aed46daaabf798f04aacd3787c0" name="ae0282aed46daaabf798f04aacd3787c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0282aed46daaabf798f04aacd3787c0">&#9670;&#160;</a></span>LL_INSERT_INORDER</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_INSERT_INORDER</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a65354af5f8151d8014fa7a97e254c104">LL_INSERT_INORDER2</a>(head,add,cmp,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00354">354</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a65354af5f8151d8014fa7a97e254c104" name="a65354af5f8151d8014fa7a97e254c104"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65354af5f8151d8014fa7a97e254c104">&#9670;&#160;</a></span>LL_INSERT_INORDER2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_INSERT_INORDER2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  LDECLTYPE(head) _tmp;                                                                        \</div>
<div class="line">  if (head) {                                                                                  \</div>
<div class="line">    LL_LOWER_BOUND(head, _tmp, add, cmp);                                                      \</div>
<div class="line">    LL_APPEND_ELEM(head, _tmp, add);                                                           \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">    (head) = (add);                                                                            \</div>
<div class="line">    (head)-&gt;next = NULL;                                                                       \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00357">357</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="acccd71aa6c0ee086fa474bd9133da7cb" name="acccd71aa6c0ee086fa474bd9133da7cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acccd71aa6c0ee086fa474bd9133da7cb">&#9670;&#160;</a></span>LL_LOWER_BOUND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_LOWER_BOUND</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">like, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a46dd8f75c55742b10caceb3111fa3719">LL_LOWER_BOUND2</a>(head,elt,like,cmp,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00369">369</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a46dd8f75c55742b10caceb3111fa3719" name="a46dd8f75c55742b10caceb3111fa3719"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46dd8f75c55742b10caceb3111fa3719">&#9670;&#160;</a></span>LL_LOWER_BOUND2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_LOWER_BOUND2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">like, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">  <span class="keywordflow">do</span> {                                                                                         \</div>
<div class="line">    if ((head) == NULL || (cmp(head, like)) &gt;= 0) {                                            \</div>
<div class="line">      (elt) = NULL;                                                                            \</div>
<div class="line">    } <span class="keywordflow">else</span> {                                                                                   \</div>
<div class="line">      for ((elt) = (head); (elt)-&gt;next != NULL; (elt) = (elt)-&gt;next) {                         \</div>
<div class="line">        if (cmp((elt)-&gt;next, like) &gt;= 0) {                                                     \</div>
<div class="line">          <span class="keywordflow">break</span>;                                                                               \</div>
<div class="line">        }                                                                                      \</div>
<div class="line">      }                                                                                        \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">  } <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00372">372</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a851fb4b583b0dc000097eeee6dd551d4" name="a851fb4b583b0dc000097eeee6dd551d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a851fb4b583b0dc000097eeee6dd551d4">&#9670;&#160;</a></span>LL_PREPEND</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_PREPEND</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#ab2de55837ec70d7e467caee1ebe33b9a">LL_PREPEND2</a>(head,add,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00314">314</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ab2de55837ec70d7e467caee1ebe33b9a" name="ab2de55837ec70d7e467caee1ebe33b9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2de55837ec70d7e467caee1ebe33b9a">&#9670;&#160;</a></span>LL_PREPEND2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_PREPEND2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">  (add)-&gt;next = (head);                                                                        \</div>
<div class="line">  (head) = (add);                                                                              \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00317">317</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a77713cebaee4dc6bec6405e092854c60" name="a77713cebaee4dc6bec6405e092854c60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77713cebaee4dc6bec6405e092854c60">&#9670;&#160;</a></span>LL_PREPEND_ELEM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_PREPEND_ELEM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a7a765038a2d590644520f8a3ec789335">LL_PREPEND_ELEM2</a>(head, el, add, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00491">491</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a7a765038a2d590644520f8a3ec789335" name="a7a765038a2d590644520f8a3ec789335"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a765038a2d590644520f8a3ec789335">&#9670;&#160;</a></span>LL_PREPEND_ELEM2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_PREPEND_ELEM2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> if (el) {                                                                                     \</div>
<div class="line">  LDECLTYPE(head) _tmp;                                                                        \</div>
<div class="line">  assert((head) != NULL);                                                                      \</div>
<div class="line">  assert((add) != NULL);                                                                       \</div>
<div class="line">  (add)-&gt;next = (el);                                                                          \</div>
<div class="line">  if ((head) == (el)) {                                                                        \</div>
<div class="line">   (head) = (add);                                                                             \</div>
<div class="line">  } <span class="keywordflow">else</span> {                                                                                     \</div>
<div class="line">   _tmp = (head);                                                                              \</div>
<div class="line">   while (_tmp-&gt;next &amp;&amp; (_tmp-&gt;next != (el))) {                                                \</div>
<div class="line">    _tmp = _tmp-&gt;next;                                                                         \</div>
<div class="line">   }                                                                                           \</div>
<div class="line">   if (_tmp-&gt;next) {                                                                           \</div>
<div class="line">     _tmp-&gt;next = (add);                                                                       \</div>
<div class="line">   }                                                                                           \</div>
<div class="line">  }                                                                                            \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">  LL_APPEND2(head, add, next);                                                                 \</div>
<div class="line"> }                                                                                             \</div>
<div class="line">} <span class="keywordflow">while</span> (0)                                                                                    \</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00468">468</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a13dd262d32d5c66a5cf044e03b849b95" name="a13dd262d32d5c66a5cf044e03b849b95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13dd262d32d5c66a5cf044e03b849b95">&#9670;&#160;</a></span>LL_REPLACE_ELEM</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_REPLACE_ELEM</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a5bcbb9a204d535d6d19487288ea30b09">LL_REPLACE_ELEM2</a>(head, el, add, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00465">465</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a5bcbb9a204d535d6d19487288ea30b09" name="a5bcbb9a204d535d6d19487288ea30b09"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bcbb9a204d535d6d19487288ea30b09">&#9670;&#160;</a></span>LL_REPLACE_ELEM2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_REPLACE_ELEM2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">el, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">add, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line"> LDECLTYPE(head) _tmp;                                                                         \</div>
<div class="line"> assert((head) != NULL);                                                                       \</div>
<div class="line"> assert((el) != NULL);                                                                         \</div>
<div class="line"> assert((add) != NULL);                                                                        \</div>
<div class="line"> (add)-&gt;next = (el)-&gt;next;                                                                     \</div>
<div class="line"> if ((head) == (el)) {                                                                         \</div>
<div class="line">  (head) = (add);                                                                              \</div>
<div class="line"> } <span class="keywordflow">else</span> {                                                                                      \</div>
<div class="line">  _tmp = (head);                                                                               \</div>
<div class="line">  while (_tmp-&gt;next &amp;&amp; (_tmp-&gt;next != (el))) {                                                 \</div>
<div class="line">   _tmp = _tmp-&gt;next;                                                                          \</div>
<div class="line">  }                                                                                            \</div>
<div class="line">  if (_tmp-&gt;next) {                                                                            \</div>
<div class="line">    _tmp-&gt;next = (add);                                                                        \</div>
<div class="line">  }                                                                                            \</div>
<div class="line"> }                                                                                             \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00445">445</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="af7a5ae66c9386c4b89403d9ca038adcb" name="af7a5ae66c9386c4b89403d9ca038adcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7a5ae66c9386c4b89403d9ca038adcb">&#9670;&#160;</a></span>LL_SEARCH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_SEARCH</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">out, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#ac32e87bb9e7e7ee5c50ddd765fec2202">LL_SEARCH2</a>(head,out,elt,cmp,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00435">435</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ac32e87bb9e7e7ee5c50ddd765fec2202" name="ac32e87bb9e7e7ee5c50ddd765fec2202"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac32e87bb9e7e7ee5c50ddd765fec2202">&#9670;&#160;</a></span>LL_SEARCH2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_SEARCH2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">out, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">    LL_FOREACH2(head,out,next) {                                                               \</div>
<div class="line">      if ((cmp(out,elt))==0) break;                                                            \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">} while (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00438">438</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a8c5c97079c5b259e4c0ff7c563b0f8ed" name="a8c5c97079c5b259e4c0ff7c563b0f8ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c5c97079c5b259e4c0ff7c563b0f8ed">&#9670;&#160;</a></span>LL_SEARCH_SCALAR</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_SEARCH_SCALAR</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">out, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">field, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">val&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#a845ca1c4ffd9aa5511a7de108685cf41">LL_SEARCH_SCALAR2</a>(head,out,field,val,next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00425">425</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a845ca1c4ffd9aa5511a7de108685cf41" name="a845ca1c4ffd9aa5511a7de108685cf41"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a845ca1c4ffd9aa5511a7de108685cf41">&#9670;&#160;</a></span>LL_SEARCH_SCALAR2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_SEARCH_SCALAR2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">head, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">out, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">field, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">val, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> {                                                                                           \</div>
<div class="line">    LL_FOREACH2(head,out,next) {                                                               \</div>
<div class="line">      if ((out)-&gt;field == (val)) <span class="keywordflow">break</span>;                                                        \</div>
<div class="line">    }                                                                                          \</div>
<div class="line">} <span class="keywordflow">while</span> (0)</div>
</div><!-- fragment -->
<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00428">428</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a0b2137d4a0c157cb7a1a30d9340ece31" name="a0b2137d4a0c157cb7a1a30d9340ece31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b2137d4a0c157cb7a1a30d9340ece31">&#9670;&#160;</a></span>LL_SORT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_SORT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;    <a class="el" href="utlist_8h.html#ab073dee297f8614db97aa576832a3af1">LL_SORT2</a>(list, cmp, next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00108">108</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ab073dee297f8614db97aa576832a3af1" name="ab073dee297f8614db97aa576832a3af1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab073dee297f8614db97aa576832a3af1">&#9670;&#160;</a></span>LL_SORT2</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LL_SORT2</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cmp, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00111">111</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aba90c456df269f7301e3b6fbbcb764fb" name="aba90c456df269f7301e3b6fbbcb764fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba90c456df269f7301e3b6fbbcb764fb">&#9670;&#160;</a></span>UTLIST_CASTASGN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UTLIST_CASTASGN</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">a, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">b&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(a)=(b)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00101">101</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a2e79be9dd498dd194909bc2a2e9b62bc" name="a2e79be9dd498dd194909bc2a2e9b62bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e79be9dd498dd194909bc2a2e9b62bc">&#9670;&#160;</a></span>UTLIST_NEXT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UTLIST_NEXT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;((elt)-&gt;next)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00096">96</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="af9272d99ba43c95b55c085b16f36bb57" name="af9272d99ba43c95b55c085b16f36bb57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9272d99ba43c95b55c085b16f36bb57">&#9670;&#160;</a></span>UTLIST_NEXTASGN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UTLIST_NEXTASGN</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">to, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">next&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;((elt)-&gt;next)=(to)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00097">97</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="ae52f3480c194493b6d8703a7d51eb66d" name="ae52f3480c194493b6d8703a7d51eb66d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae52f3480c194493b6d8703a7d51eb66d">&#9670;&#160;</a></span>UTLIST_PREVASGN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UTLIST_PREVASGN</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">to, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">prev&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;((elt)-&gt;prev)=(to)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00099">99</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aded44330ce4d18912ff83fe82cf26af7" name="aded44330ce4d18912ff83fe82cf26af7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aded44330ce4d18912ff83fe82cf26af7">&#9670;&#160;</a></span>UTLIST_RS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UTLIST_RS</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00100">100</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="aa3cab84f4d370423c96ac66d9216c6aa" name="aa3cab84f4d370423c96ac66d9216c6aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa3cab84f4d370423c96ac66d9216c6aa">&#9670;&#160;</a></span>UTLIST_SV</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UTLIST_SV</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">elt, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">list&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00095">95</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
<a id="a9f3779f3c49ddf609c97f1c3d1f29730" name="a9f3779f3c49ddf609c97f1c3d1f29730"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f3779f3c49ddf609c97f1c3d1f29730">&#9670;&#160;</a></span>UTLIST_VERSION</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UTLIST_VERSION&#160;&#160;&#160;2.0.2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="utlist_8h_source.html#l00027">27</a> of file <a class="el" href="utlist_8h_source.html">utlist.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_a14d23a24002734ac2a3b997119f008e.html">coap2</a></li><li class="navelem"><a class="el" href="utlist_8h.html">utlist.h</a></li>
    <li class="footer">Generated on Fri Dec 27 2024 09:57:44 for libcoap by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
  </ul>
</div>
</body>
</html>
